#初始化mapping
curl http://localhost/pro/v1/esInit/formDataMappingAll -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":2307,"byCorpid":"1","updateTimeGte":0}'

#加别名
curl http://localhost/pro/v1/esInit/addAllAlias  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":2307,"byCorpid":"1","updateTimeGte":0}'


# 子表单数据初始化
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/originDataInit -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"byCorpid":0}'

# 主表和团队的同步 (测试环境)   byCorpid=0的时候才是全部        include=true才包含子表单
curl http://localhost/pro/v1/esInit/formDataInitAll -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":2307,"byCorpid":"1","updateTimeGte":0,"include":false}'
#（正式环境要分组）
1
100
112
501
114,201,204,205,206,209,4700,4701,4704,1501,1504,1505,1506,1507,1508,1509,401,402,
403,901,907,905,903,908,906,1401,1404,1405,1406,1407,1408,1409,1301,1304,701,707,715,702,714,716,802,814,815,2801,2802,2807,801,803,816,601,602,603,301,305,307,2601,2603,2604,510,502,511,2101,2106,1101,1103,1107,1201,1203,1002,1004,1006,1001,1003,1007,2401,2402,2403,2404,2407,1701,1703,1601,1603,1801,1804,202,207,208,2301,2302,2303,2307,4800,3606,712,713,810,811,4900,5100,5200
curl http://localhost/pro/v1/esInit/initAllByBuss  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":2307,"byCorpid":0,"businessTypeList":[602,603,301,305,307,2601,2603,2604,510,502,511,2101,2106,1101]}'


# 初始化BIMapping
curl http://localhost/pro/v1/chart/init/initAllBiMapping -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":2307,"byCorpid":"1","updateTimeGte":0,"include":false}'

# 重建BI数据
curl http://localhost/pro/v1/chart/init/initAllData -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456"}'

